package com.lovelyj.trip_by_train.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lovelyj.trip_by_train.entity.Coach;

import java.util.List;


public interface CoachService extends IService<Coach> {

    public int saveWithSeats(Coach coach);

    public void updateWithSeats(Coach coach);

    public void deleteByIdsWithSeats(List<Long> ids);

    public void deleteByIdWithSeats(Long id);

}
